/**
 * Project Name:emm-common
 * File Name:SalesReportDto.java
 * Package Name:com.emm.yixun.common.enums
 * Date:2017年8月1日下午4:58:56
 * Copyright (c) 2017, chenzhou1025@126.com All Rights Reserved.
 *
*/
package com.emm.yixun.common.enums;

import java.math.BigDecimal;

/**
 * ClassName:SalesReportDto <br/>
 * Function: 销售报表 <br/>
 * Date: 2017年8月1日 下午4:58:56 <br/>
 * 
 * @author Administrator
 * @version
 * @since JDK 1.6
 * @see
 */
public class SalesReportDto {
	private Long projectId;
	private boolean total; // 是否汇总

	private String projectName;

	private Integer unitTotal; // 签约套数

	private BigDecimal areaTotal; // 签约面积

	private BigDecimal amountTotal; // 签约合同总额

	private BigDecimal avgAmount; // 平均单价

	private BigDecimal backAmount; // 回款金额

	private BigDecimal soldArea; // 可售面积

	private BigDecimal quotationArea; // 开盘面积

	private BigDecimal signedArea; // 整个项目签约的面积,没有时间区间

	private String typeName; // 类别

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	/**
	 * signedArea.
	 *
	 * @return the signedArea
	 * @since JDK 1.6
	 */
	public BigDecimal getSignedArea() {
		return signedArea;
	}

	/**
	 * signedArea.
	 *
	 * @param signedArea
	 *            the signedArea to set
	 * @since JDK 1.6
	 */
	public void setSignedArea(BigDecimal signedArea) {
		this.signedArea = signedArea;
	}

	// 查询条件
	private String startTime;

	private String endTimed;

	/**
	 * total.
	 *
	 * @return the total
	 * @since JDK 1.6
	 */
	public boolean isTotal() {
		return total;
	}

	/**
	 * total.
	 *
	 * @param total
	 *            the total to set
	 * @since JDK 1.6
	 */
	public void setTotal(boolean total) {
		this.total = total;
	}

	/**
	 * projectName.
	 *
	 * @return the projectName
	 * @since JDK 1.6
	 */
	public String getProjectName() {
		return projectName;
	}

	/**
	 * projectName.
	 *
	 * @param projectName
	 *            the projectName to set
	 * @since JDK 1.6
	 */
	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	/**
	 * unitTotal.
	 *
	 * @return the unitTotal
	 * @since JDK 1.6
	 */
	public Integer getUnitTotal() {
		return unitTotal;
	}

	/**
	 * unitTotal.
	 *
	 * @param unitTotal
	 *            the unitTotal to set
	 * @since JDK 1.6
	 */
	public void setUnitTotal(Integer unitTotal) {
		this.unitTotal = unitTotal;
	}

	/**
	 * areaTotal.
	 *
	 * @return the areaTotal
	 * @since JDK 1.6
	 */
	public BigDecimal getAreaTotal() {
		return areaTotal;
	}

	/**
	 * areaTotal.
	 *
	 * @param areaTotal
	 *            the areaTotal to set
	 * @since JDK 1.6
	 */
	public void setAreaTotal(BigDecimal areaTotal) {
		this.areaTotal = areaTotal;
	}

	/**
	 * amountTotal.
	 *
	 * @return the amountTotal
	 * @since JDK 1.6
	 */
	public BigDecimal getAmountTotal() {
		return amountTotal;
	}

	/**
	 * amountTotal.
	 *
	 * @param amountTotal
	 *            the amountTotal to set
	 * @since JDK 1.6
	 */
	public void setAmountTotal(BigDecimal amountTotal) {
		this.amountTotal = amountTotal;
	}

	/**
	 * avgAmount.
	 *
	 * @return the avgAmount
	 * @since JDK 1.6
	 */
	public BigDecimal getAvgAmount() {
		return avgAmount;
	}

	/**
	 * avgAmount.
	 *
	 * @param avgAmount
	 *            the avgAmount to set
	 * @since JDK 1.6
	 */
	public void setAvgAmount(BigDecimal avgAmount) {
		this.avgAmount = avgAmount;
	}

	/**
	 * backAmount.
	 *
	 * @return the backAmount
	 * @since JDK 1.6
	 */
	public BigDecimal getBackAmount() {
		return backAmount;
	}

	/**
	 * backAmount.
	 *
	 * @param backAmount
	 *            the backAmount to set
	 * @since JDK 1.6
	 */
	public void setBackAmount(BigDecimal backAmount) {
		this.backAmount = backAmount;
	}

	/**
	 * soldArea.
	 *
	 * @return the soldArea
	 * @since JDK 1.6
	 */
	public BigDecimal getSoldArea() {
		return soldArea;
	}

	/**
	 * soldArea.
	 *
	 * @param soldArea
	 *            the soldArea to set
	 * @since JDK 1.6
	 */
	public void setSoldArea(BigDecimal soldArea) {
		this.soldArea = soldArea;
	}

	/**
	 * quotationArea.
	 *
	 * @return the quotationArea
	 * @since JDK 1.6
	 */
	public BigDecimal getQuotationArea() {
		return quotationArea;
	}

	/**
	 * quotationArea.
	 *
	 * @param quotationArea
	 *            the quotationArea to set
	 * @since JDK 1.6
	 */
	public void setQuotationArea(BigDecimal quotationArea) {
		this.quotationArea = quotationArea;
	}

	/**
	 * startTime.
	 *
	 * @return the startTime
	 * @since JDK 1.6
	 */
	public String getStartTime() {
		return startTime;
	}

	/**
	 * startTime.
	 *
	 * @param startTime
	 *            the startTime to set
	 * @since JDK 1.6
	 */
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	/**
	 * endTimed.
	 *
	 * @return the endTimed
	 * @since JDK 1.6
	 */
	public String getEndTimed() {
		return endTimed;
	}

	/**
	 * endTimed.
	 *
	 * @param endTimed
	 *            the endTimed to set
	 * @since JDK 1.6
	 */
	public void setEndTimed(String endTimed) {
		this.endTimed = endTimed;
	}

	public SalesReportDto(Long projectId, boolean total, String projectName, Integer unitTotal, BigDecimal areaTotal,
			BigDecimal amountTotal, BigDecimal avgAmount, BigDecimal backAmount, BigDecimal soldArea,
			BigDecimal quotationArea, BigDecimal signedArea, String typeName, String startTime, String endTimed) {
		super();
		this.projectId = projectId;
		this.total = total;
		this.projectName = projectName;
		this.unitTotal = unitTotal;
		this.areaTotal = areaTotal;
		this.amountTotal = amountTotal;
		this.avgAmount = avgAmount;
		this.backAmount = backAmount;
		this.soldArea = soldArea;
		this.quotationArea = quotationArea;
		this.signedArea = signedArea;
		this.typeName = typeName;
		this.startTime = startTime;
		this.endTimed = endTimed;
	}

	public SalesReportDto() {
		super();
	}

	/**
	 * projectId.
	 *
	 * @return the projectId
	 * @since JDK 1.6
	 */
	public Long getProjectId() {
		return projectId;
	}

	/**
	 * projectId.
	 *
	 * @param projectId
	 *            the projectId to set
	 * @since JDK 1.6
	 */
	public void setProjectId(Long projectId) {
		this.projectId = projectId;
	}

}
